package io.bsly.modules.app.dao.sourceDao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.bsly.modules.app.entity.sourceEntity.HotelEntity;
import io.bsly.modules.app.pojo.HotelRoomTypeVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author fys
 * @email demo@gmail.com
 * @date 2021-09-26 15:33:56
 */
@Mapper
public interface HotelDao extends BaseMapper<HotelEntity> {
    IPage<HotelEntity> queryAllByLimit(IPage<HotelEntity> page, @Param("dto") HotelEntity hotelEntity);

    List<HotelRoomTypeVo> getDetailWithTypeData(@Param("hotelId") Integer hotelId);
}
